package org.jeecg.modules.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 欠费明细历史
 * @Author: jeecg-boot
 * @Date:   2022-02-22
 * @Version: V1.0
 */
@ApiModel(value="mws_t_his_sub_arrear对象", description="欠费明细历史")
@Data
@TableName("mws_t_his_sub_arrear")
public class HisSubArrear implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**欠费记录*/
    @ApiModelProperty(value = "欠费记录")
    private java.lang.String arrearId;
	/**计费明细*/
	@Excel(name = "计费明细", width = 15)
    @ApiModelProperty(value = "计费明细")
    private java.lang.String subExpenseId;
	/**费用代码*/
	@Excel(name = "费用代码", width = 15, dictTable = "mws_t_base_charge_item", dicText = "name", dicCode = "code")
	@Dict(dictTable = "mws_t_base_charge_item", dicText = "name", dicCode = "code")
    @ApiModelProperty(value = "费用代码")
    private java.lang.String itemCode;
	/**用水价格*/
	@Excel(name = "用水价格", width = 15)
    @ApiModelProperty(value = "用水价格")
    private java.lang.String priceId;
	/**用水性质*/
	@Excel(name = "用水性质", width = 15, dictTable = "mws_t_base_natures", dicText = "name", dicCode = "id")
	@Dict(dictTable = "mws_t_base_natures", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "用水性质")
    private java.lang.String natureId;
	/**阶梯号*/
	@Excel(name = "阶梯号", width = 15)
    @ApiModelProperty(value = "阶梯号")
    private Integer tierNo;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.math.BigDecimal price;
	/**水量*/
	@Excel(name = "水量", width = 15)
    @ApiModelProperty(value = "水量")
    private java.math.BigDecimal amount;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal money;
	/**增值税金额*/
	@Excel(name = "增值税金额", width = 15)
    @ApiModelProperty(value = "增值税金额")
    private java.math.BigDecimal vatMoney;
	/**总金额*/
	@Excel(name = "总金额", width = 15)
    @ApiModelProperty(value = "总金额")
    private java.math.BigDecimal totalMoney;
	/**欠费水量*/
	@Excel(name = "欠费水量", width = 15)
    @ApiModelProperty(value = "欠费水量")
    private java.math.BigDecimal arrearAmount;
	/**欠费金额（不包括违约金）*/
	@Excel(name = "欠费金额（不包括违约金）", width = 15)
    @ApiModelProperty(value = "欠费金额（不包括违约金）")
    private java.math.BigDecimal arrearMoney;
	/**已收金额*/
	@Excel(name = "已收金额", width = 15)
    @ApiModelProperty(value = "已收金额")
    private java.math.BigDecimal recivedMoney;
	/**优惠金额*/
	@Excel(name = "优惠金额", width = 15)
    @ApiModelProperty(value = "优惠金额")
    private java.math.BigDecimal discountMoney;
    /**计费后减免金额*/
    @Excel(name = "减免金额", width = 15)
    @ApiModelProperty(value = "减免金额")
    private java.math.BigDecimal derateMoney;
	/**是否锁定*/
	@Excel(name = "是否锁定", width = 15)
    @ApiModelProperty(value = "是否锁定")
    private java.math.BigDecimal isLocked;
	/**锁定类型*/
	@Excel(name = "锁定类型", width = 15)
    @ApiModelProperty(value = "锁定类型")
    private java.lang.String lockedTypeId;
	/**同步标识*/
	@Excel(name = "同步标识", width = 15)
    @ApiModelProperty(value = "同步标识")
    private java.math.BigDecimal syncFlag;
	/**最后同步时间*/
	@Excel(name = "最后同步时间", width = 15)
    @ApiModelProperty(value = "最后同步时间")
    private java.lang.String syncDatetime;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**租户网点*/
	@Excel(name = "租户网点", width = 15)
    @ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;
}
